cmake_minimum_required(VERSION 3.8)
project(find_package_7)

#find_package(OpenCV COMPONENTS core imgproc video)
#find_package(OpenCV COMPONENTS core imgproc video ai)
#find_package(OpenCV REQUIRED COMPONENTS core imgproc video)
#find_package(OpenCV REQUIRED COMPONENTS core imgproc video ai)
find_package(OpenCV REQUIRED COMPONENTS core imgproc video OPTIONAL_COMPONENTS ai)

message(STATUS "OpenCV_FOUND = ${OpenCV_FOUND}")
